package ooday02;

public class AnimalTest {
    public static void main(String[] args) {
        Dog zc = new Dog("小白",2,"白","别墅");
        System.out.println(zc);
        zc.lookHome();
        zc.eat();
        zc.drink();
        System.out.println("---------");

        Chick oo = new Chick("小黄",3,"黄","鸡蛋");
        oo.layegg();
        oo.eat();
        System.out.println("---------");


        Fish ii = new Fish("小粉",6,"粉");
        ii.eat();
        System.out.println("---------");
    }
}
